package org.zgy.stock.service.holder;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.zgy.stock.mapper.holder.StockHolderNumsInfoMapper;
import org.zgy.stock.model.holder.StockHolderNumsInfo;

import java.util.List;

@Service
public class StockHolderNumsInfoService {
    @Autowired
    private StockHolderNumsInfoMapper stockHolderNumsInfoMapper;

    public void insert(List<StockHolderNumsInfo> list) {
        if (list != null && !list.isEmpty()) {
            stockHolderNumsInfoMapper.insert(list);
        }
    }

    public List<String> getHandledCodeList() {
        return stockHolderNumsInfoMapper.getHandledCodeList();
    }
}
